package com.gxl.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.gxl.pojo.Users;

public interface UsersMapper {
	List<Users> selByNameAge(String name,Integer age);
	List<Users> selById(Integer id);
	List<Users> selByUser(Users users);
	List<Users> selByMap(Map<String,Object> map);
	
	int insUsers(Users users);
	
	long selUserCount(@Param("name") String name);
	List<Users> selUserByPage(long pageStart,int pageSize,@Param("name") String name);
}
